﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Jobs/Jobs.master" AutoEventWireup="true" CodeBehind="Applicants.aspx.cs" Inherits="HRdex_Final.Jobs.WebForm1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="MainContent" runat="server">

    <div align="center">
<asp:GridView ID="gvApplicants" runat="server" AutoGenerateColumns="False" 
        DataKeyNames="ApplicantID" DataSourceID="applicants" BackColor="White" 
        BorderColor="#CCCCCC" BorderStyle="None" BorderWidth="1px" CellPadding="3">
    <Columns>
        <asp:BoundField DataField="ApplicantID" HeaderText="ApplicantID" 
            InsertVisible="False" ReadOnly="True" SortExpression="ApplicantID" />
        <asp:BoundField DataField="fName" HeaderText="fName" SortExpression="fName" />
        <asp:BoundField DataField="lName" HeaderText="lName" SortExpression="lName" />
        <asp:BoundField DataField="Address" HeaderText="Address" 
            SortExpression="Address" />
        <asp:BoundField DataField="contactNum" HeaderText="contactNum" 
            SortExpression="contactNum" />
        <asp:BoundField DataField="email" HeaderText="email" SortExpression="email" />
        <asp:BoundField DataField="JobID" HeaderText="JobID" SortExpression="JobID" />
        <asp:BoundField DataField="birthday" HeaderText="birthday" 
            SortExpression="birthday" />
        <asp:BoundField DataField="pubDate" HeaderText="pubDate" 
            SortExpression="pubDate" />
    </Columns>
    <FooterStyle BackColor="White" ForeColor="#000066" />
    <HeaderStyle BackColor="#006699" Font-Bold="True" ForeColor="White" />
    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
    <RowStyle ForeColor="#000066" />
    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
    <SortedAscendingCellStyle BackColor="#F1F1F1" />
    <SortedAscendingHeaderStyle BackColor="#007DBB" />
    <SortedDescendingCellStyle BackColor="#CAC9C9" />
    <SortedDescendingHeaderStyle BackColor="#00547E" />
</asp:GridView>

    <asp:SqlDataSource ID="applicants" runat="server" 
        ConnectionString="<%$ ConnectionStrings:HRmainConnectionString %>" 
        SelectCommand="SELECT * FROM [formApplicant]"></asp:SqlDataSource>

</div>
</asp:Content>
